Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Scala 2.13.0 #66

Closed
wants to merge 5 commits into from
Closed

Conversation

jtjeferreira
Copy link
Contributor

Most changes were related to new collections, what I did:

I also revert some commits, that were causing compilation issues...

@@ -68,7 +68,7 @@ object BsonTransformer extends DefaultBsonTransformers {}
/**
* Default BsonTransformers for native types.
*/
trait DefaultBsonTransformers {
trait DefaultBsonTransformers extends LowPrio {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to give different priorities to transformOption and the collections BsonTransformer because otherwise I was having implicits errors in scala 2.13

}
// it should "be mappable thanks to CanBuildFrom" in {
// Document.empty.map({ kv => kv }) should equal(Document.empty)
// val doc1: Document = docMap.map(kv => kv).to(Document)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the to(Document) is necessary for scala 2.13, but does not work for other scala versions

@rozza
Copy link
Member

rozza commented Jun 26, 2019

Thanks @jtjeferreira, thats great! I'll have to review the approach / reverts but hopefully, I can get 2.13 support out on top of the java 3.11 driver for the next release!

@sfxcode
Copy link

sfxcode commented Jun 28, 2019

2.13 support sounds great

@rozza
Copy link
Member

rozza commented Jul 8, 2019

@jtjeferreira thanks so much for the PR! I've rebased and merged it in b37763a

Snapshots are available from sonatype: https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/scala/mongo-scala-driver_2.13/

@rozza rozza closed this Jul 8, 2019
@manfredi-giordano
Copy link

Hi @rozza, any chance to have it published to Maven central? Thank you!

@2m
Copy link

2m commented Aug 7, 2019

We would also appreciate a release, as that would unblock Alpakka MongoDb connector release for Scala 2.13: akka/alpakka#1535

@rozza
Copy link
Member

rozza commented Aug 7, 2019

Apologies for the delay, the 2.7 release should be out by the end of next week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants